package com.sysu.ooad.dao;

import java.util.List;

import com.sysu.ooad.entity.Course;
import com.sysu.ooad.entity.Group;
import com.sysu.ooad.entity.Student;

public interface StudentDao {
	public void add(Student s);
	public Student findByName(String name);
	public void update(Student s);
	public void merge(Student s);
	public List<Student> findByCourse(Course c);
	public List<Student> findByGroup(Group g);
	public List<Student> findWhoHaveNoGroup(Course c);
}
